﻿using System;
using System.Text;
using YXShop.IDAL.Shop;
namespace YXShop.DALFactory
{
    public sealed partial class DataAccess
    {
        /// <summary>
        /// 店铺类别
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Shop.IShopCategory CreateShopCategory()
        {
            return (IShopCategory)CreateObject("Shop.ShopCategory");
        }

        /// <summary>
        /// 店铺类别等级
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Shop.IShopLevel CreateShopLevel()
        {
            return (IShopLevel)CreateObject("Shop.ShopLevel");
        }
        /// <summary>
        /// 店铺信息
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Shop.IShop CreateShop()
        {
            return (IShop)CreateObject("Shop.Shop");
        }
        /// <summary>
        /// 店铺风格
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Shop.IShopColor CreateShopColor()
        {
            return (IShopColor)CreateObject("Shop.ShopColor");
        }
    }
}
